package com.OA.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 知识的实体类
 * 
 * @author NuiiQK
 */
public class Knowledge implements Serializable{
	private static final long serialVersionUID = -5922035713522353836L;
	//标题
	private String mytitle;
	//类别
	private String catname;
	//专题
	private String thename;
	//知识时间
	private Date mytime;
	//知识附件
	private String myannex;
	//评论
	private int comid;
	//已读
	private int userid;
	public String getMytitle() {
		return mytitle;
	}
	public void setMytitle(String mytitle) {
		this.mytitle = mytitle;
	}
	public String getCatname() {
		return catname;
	}
	public void setCatname(String catname) {
		this.catname = catname;
	}
	public String getThename() {
		return thename;
	}
	public void setThename(String thename) {
		this.thename = thename;
	}
	public Date getMytime() {
		return mytime;
	}
	public void setMytime(Date mytime) {
		this.mytime = mytime;
	}
	public String getMyannex() {
		return myannex;
	}
	public void setMyannex(String myannex) {
		this.myannex = myannex;
	}
	public int getComid() {
		return comid;
	}
	public void setComid(int comid) {
		this.comid = comid;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public Knowledge() {
	}
	public Knowledge(String mytitle, String catname, String thename, Date mytime, String myannex, int comid,
			int userid) {
		this.mytitle = mytitle;
		this.catname = catname;
		this.thename = thename;
		this.mytime = mytime;
		this.myannex = myannex;
		this.comid = comid;
		this.userid = userid;
	}
	public Knowledge(String mytitle, String catname, Date mytime) {
		this.mytitle = mytitle;
		this.catname = catname;
		this.mytime = mytime;
	}
	
}
